<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Netkk.Models.NewsModel>" %>
<%@ Import Namespace="Netkk.Core"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>
        <%=Html.Encode(Model.Title)%> - .NET-Stammtisch Konstanz-Kreuzlingen</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        <%=Html.Encode(Model.Title)%></h1>
<p>
    Datum:
    <%=Model.Date.ToString("dd.MM.yyyy HH:mm")%></p>
<%=Model.Teaser%>
<p>
    &nbsp;</p>
<%=Model.Text%>
<p>
    <%if (Model.ShowEditNews)
      {%>
    <a href="<%=Html.Action("News", "Edit", Model.Id)%>" class="edit button">Bearbeiten</a>
    <%}%>
</p>
<p>
    &nbsp;</p>
</asp:Content>
